home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
libmat.lha
/
src
/
mconst4.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1980-01-01
|
283b
|
18 lines
// MATRIX LIB
// TOMMY JOHANSSON 1995
#include "matrix.h"
Matrix::Matrix(const Matrix& A)
{
#ifdef DEBUG
puts("Initierar matris från en annan.");
#endif
int i,j;
koff=alloc(A.m+1,A.n+1);
m=A.m;
n=A.n;
for(i=1;i<=m;i++)
for(j=1;j<=n;j++)
koff[i][j]=A.koff[i][j];
}